package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsAdmin;

import java.util.List;

/**
 * @author ZhangYuJie
 * projectName:shop_manage
 * time:2022/5/16 16:35
 * description:
 */
public interface DtsAdminService {
    DtsAdmin findByUsername(String username);

    IPage<DtsAdmin> querySelective(String username, Integer page, Integer limit, String sort, String order);

    List<DtsAdmin> findAdmin(String username);

    void add(DtsAdmin admin);

    int updateById(DtsAdmin admin);

    void deleteById(Integer id);

    DtsAdmin findAdminById(Integer id);
}
